Total Complexity | 53 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 244 |
Lines of code | 156 |
Logical lines of code | 93 |
Comment lines | 46 |
Methods | 11 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
generate_document_shortcode() | 39 | 19 | 59 | |
open_my_account_pdf_link_on_new_tab() | 54 | 12 | 18 | |
my_account_invoice_pdf_link() | 48 | 11 | 32 | |
get_invoice_number() | 61 | 3 | 13 | |
instance() | 72 | 2 | 6 | |
__construct() | 64 | 1 | 9 | |
add_invoice_number_to_wc_legacy_order_api() | 75 | 1 | 4 | |
add_invoice_number_to_wc_order_api() | 70 | 1 | 6 | |
disable_storing_document_settings() | 78 | 1 | 3 | |
restore_storing_document_settings() | 78 | 1 | 3 | |
return_false() | 82 | 1 | 3 |